﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace SaleWebsite.library
{
    public class CheckRange
    {
        public static bool Validate(int min ,int max,string value)
        {
            if ( value.Trim().Length>=min&&value.Trim().Length<=max)
            {
                return true;
            }
            return false;
        }
    }
}